package first.daodto;

import java.sql.SQLException;
import java.util.List;
import first.liter.Literature;

public interface LiteratureDao {
	
	List<Literature>  findAllLiteraturesSimple() throws SQLException;
	
	int createLiterature(Literature lit) throws SQLException;
	
	int deleteOneLiterature(Literature lit) throws SQLException;
	
	int deleteAllLiteratures(Literature lit) throws SQLException;
}
